PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Particles / Points / martin - into the fireworks.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.980 |
| 8 | fDecay=0.500 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=6 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.312 |
| 26 | fWaveScale=1.229 |
| 27 | fWaveSmoothing=0.000 |
| 28 | fWaveParam=0.200 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=1.459 |
| 32 | fWarpScale=2.007 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99990 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=0.99990 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.000 |
| 45 | wave_g=0.000 |
| 46 | wave_b=0.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.000 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.200 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=0.000 |
| 56 | ib_g=0.000 |
| 57 | ib_b=0.250 |
| 58 | ib_a=1.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=3.300 |
| 64 | mv_r=0.500 |
| 65 | mv_g=0.500 |
| 66 | mv_b=0.500 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=0.700 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=189 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=1 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=0.89152 |
| 83 | wavecode_0_smoothing=0.82000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=0.600 |
| 88 | wave_0_per_frame1=ofs = 0; |
| 89 | wave_0_per_frame2= |
| 90 | wave_0_per_frame3=t1 = 2*sin(time/15-ofs); |
| 91 | wave_0_per_frame4=t2 = 2*sin(time/11-ofs); |
| 92 | wave_0_per_frame5=t3 = 2*sin(time/19-ofs); |
| 93 | wave_0_per_frame6=monitor = time; |
| 94 | wave_0_per_point1= |
| 95 | wave_0_per_point2=mul = 10; |
| 96 | wave_0_per_point3=t_abs = (sample)*mul; |
| 97 | wave_0_per_point4=ampl = 2; |
| 98 | wave_0_per_point5= |
| 99 | wave_0_per_point6=ox = ampl*sin (t_abs*68); |
| 100 | wave_0_per_point7=oy = ampl*cos (t_abs*28); |
| 101 | wave_0_per_point8=oz = 2+ampl*cos (t_abs*128); |
| 102 | wave_0_per_point9= |
| 103 | wave_0_per_point10= |
| 104 | wave_0_per_point11=r = min(sin(t_abs*335)+1,1); |
| 105 | wave_0_per_point12=g = min(sin(t_abs*783)+1,1) ; |
| 106 | wave_0_per_point13=b = min(sin(t_abs*456)+1,1); |
| 107 | wave_0_per_point14= |
| 108 | wave_0_per_point15=a=.5 + .02*(int(rand(10))-5); |
| 109 | wave_0_per_point16= |
| 110 | wave_0_per_point17=xang = t1; |
| 111 | wave_0_per_point18=yang = t2; |
| 112 | wave_0_per_point19=zang = t3; |
| 113 | wave_0_per_point20=fov = 0.12; |
| 114 | wave_0_per_point21= |
| 115 | wave_0_per_point22= |
| 116 | wave_0_per_point23=// Rotation um x,y,z |
| 117 | wave_0_per_point24= |
| 118 | wave_0_per_point25=mx = ox*cos(zang) - oy*sin(zang); |
| 119 | wave_0_per_point26=my = ox*sin(zang) + oy*cos(zang); |
| 120 | wave_0_per_point27= |
| 121 | wave_0_per_point28=ox = mx; |
| 122 | wave_0_per_point29=oy = my; |
| 123 | wave_0_per_point30=mx = ox*cos(yang) + oz*sin(yang); |
| 124 | wave_0_per_point31=mz = - ox*sin(yang) + oz*cos(yang); |
| 125 | wave_0_per_point32=ox = mx; |
| 126 | wave_0_per_point33=oz = mz; |
| 127 | wave_0_per_point34=my = oy*cos(xang) - oz*sin(xang); |
| 128 | wave_0_per_point35=mz = oy*sin(xang) + oz*cos(xang); |
| 129 | wave_0_per_point36=oy = my; |
| 130 | wave_0_per_point37=oz = mz; |
| 131 | wave_0_per_point38= |
| 132 | wave_0_per_point39=x = ox*fov/oz +0.5; |
| 133 | wave_0_per_point40=//x = (x-.5)*0.75 + 0.5; |
| 134 | wave_0_per_point41=y = oy*fov/oz + 0.5; |
| 135 | wavecode_1_enabled=0 |
| 136 | wavecode_1_samples=189 |
| 137 | wavecode_1_sep=0 |
| 138 | wavecode_1_bSpectrum=0 |
| 139 | wavecode_1_bUseDots=1 |
| 140 | wavecode_1_bDrawThick=0 |
| 141 | wavecode_1_bAdditive=1 |
| 142 | wavecode_1_scaling=0.89152 |
| 143 | wavecode_1_smoothing=0.82000 |
| 144 | wavecode_1_r=1.000 |
| 145 | wavecode_1_g=1.000 |
| 146 | wavecode_1_b=1.000 |
| 147 | wavecode_1_a=0.100 |
| 148 | wave_1_per_frame1=t1 = 2*sin(time/15); |
| 149 | wave_1_per_frame2=t2 = 2*sin(time/11); |
| 150 | wave_1_per_frame3=t3 = 2*sin(time/19); |
| 151 | wave_1_per_frame4=monitor = time; |
| 152 | wavecode_2_enabled=0 |
| 153 | wavecode_2_samples=512 |
| 154 | wavecode_2_sep=0 |
| 155 | wavecode_2_bSpectrum=0 |
| 156 | wavecode_2_bUseDots=0 |
| 157 | wavecode_2_bDrawThick=1 |
| 158 | wavecode_2_bAdditive=0 |
| 159 | wavecode_2_scaling=0.89152 |
| 160 | wavecode_2_smoothing=0.82000 |
| 161 | wavecode_2_r=1.000 |
| 162 | wavecode_2_g=1.000 |
| 163 | wavecode_2_b=1.000 |
| 164 | wavecode_2_a=0.100 |
| 165 | wavecode_3_enabled=0 |
| 166 | wavecode_3_samples=512 |
| 167 | wavecode_3_sep=0 |
| 168 | wavecode_3_bSpectrum=1 |
| 169 | wavecode_3_bUseDots=1 |
| 170 | wavecode_3_bDrawThick=0 |
| 171 | wavecode_3_bAdditive=0 |
| 172 | wavecode_3_scaling=1.00000 |
| 173 | wavecode_3_smoothing=0.50000 |
| 174 | wavecode_3_r=1.000 |
| 175 | wavecode_3_g=1.000 |
| 176 | wavecode_3_b=1.000 |
| 177 | wavecode_3_a=1.000 |
| 178 | shapecode_0_enabled=0 |
| 179 | shapecode_0_sides=4 |
| 180 | shapecode_0_additive=0 |
| 181 | shapecode_0_thickOutline=1 |
| 182 | shapecode_0_textured=1 |
| 183 | shapecode_0_num_inst=1 |
| 184 | shapecode_0_x=0.500 |
| 185 | shapecode_0_y=0.500 |
| 186 | shapecode_0_rad=1.85483 |
| 187 | shapecode_0_ang=1.57080 |
| 188 | shapecode_0_tex_ang=0.00000 |
| 189 | shapecode_0_tex_zoom=0.53907 |
| 190 | shapecode_0_r=1.000 |
| 191 | shapecode_0_g=0.940 |
| 192 | shapecode_0_b=0.890 |
| 193 | shapecode_0_a=1.000 |
| 194 | shapecode_0_r2=0.840 |
| 195 | shapecode_0_g2=0.930 |
| 196 | shapecode_0_b2=1.000 |
| 197 | shapecode_0_a2=1.000 |
| 198 | shapecode_0_border_r=1.000 |
| 199 | shapecode_0_border_g=1.000 |
| 200 | shapecode_0_border_b=0.000 |
| 201 | shapecode_0_border_a=0.000 |
| 202 | shape_0_per_frame1=x = .4998; |
| 203 | shape_0_per_frame2=y = .5002; |
| 204 | shape_0_per_frame3= |
| 205 | shape_0_per_frame4=ti = time*.3; |
| 206 | shape_0_per_frame5=r = .925 + .05*sin(ti*1.721); |
| 207 | shape_0_per_frame6=g = .925 + .05*sin(ti*1.838); |
| 208 | shape_0_per_frame7=b = .925 + .05*sin(ti*1.968); |
| 209 | shape_0_per_frame8= |
| 210 | shape_0_per_frame9=r2 = 1.875 - r; |
| 211 | shape_0_per_frame10=g2 = 1.875 - g; |
| 212 | shape_0_per_frame11=b2 = 1.875 - b; |
| 213 | shape_0_per_frame12= |
| 214 | shapecode_1_enabled=0 |
| 215 | shapecode_1_sides=63 |
| 216 | shapecode_1_additive=0 |
| 217 | shapecode_1_thickOutline=0 |
| 218 | shapecode_1_textured=1 |
| 219 | shapecode_1_num_inst=1 |
| 220 | shapecode_1_x=0.500 |
| 221 | shapecode_1_y=0.500 |
| 222 | shapecode_1_rad=1.99863 |
| 223 | shapecode_1_ang=0.00000 |
| 224 | shapecode_1_tex_ang=0.00000 |
| 225 | shapecode_1_tex_zoom=0.49981 |
| 226 | shapecode_1_r=1.000 |
| 227 | shapecode_1_g=1.000 |
| 228 | shapecode_1_b=1.000 |
| 229 | shapecode_1_a=0.100 |
| 230 | shapecode_1_r2=1.000 |
| 231 | shapecode_1_g2=1.000 |
| 232 | shapecode_1_b2=1.000 |
| 233 | shapecode_1_a2=0.600 |
| 234 | shapecode_1_border_r=0.500 |
| 235 | shapecode_1_border_g=0.500 |
| 236 | shapecode_1_border_b=0.500 |
| 237 | shapecode_1_border_a=0.000 |
| 238 | shapecode_2_enabled=0 |
| 239 | shapecode_2_sides=63 |
| 240 | shapecode_2_additive=0 |
| 241 | shapecode_2_thickOutline=0 |
| 242 | shapecode_2_textured=1 |
| 243 | shapecode_2_num_inst=1 |
| 244 | shapecode_2_x=0.123 |
| 245 | shapecode_2_y=0.000 |
| 246 | shapecode_2_rad=0.27319 |
| 247 | shapecode_2_ang=0.00000 |
| 248 | shapecode_2_tex_ang=0.00000 |
| 249 | shapecode_2_tex_zoom=0.49981 |
| 250 | shapecode_2_r=1.000 |
| 251 | shapecode_2_g=1.000 |
| 252 | shapecode_2_b=1.000 |
| 253 | shapecode_2_a=1.000 |
| 254 | shapecode_2_r2=1.000 |
| 255 | shapecode_2_g2=1.000 |
| 256 | shapecode_2_b2=1.000 |
| 257 | shapecode_2_a2=0.000 |
| 258 | shapecode_2_border_r=0.500 |
| 259 | shapecode_2_border_g=0.500 |
| 260 | shapecode_2_border_b=0.500 |
| 261 | shapecode_2_border_a=0.000 |
| 262 | shapecode_3_enabled=0 |
| 263 | shapecode_3_sides=63 |
| 264 | shapecode_3_additive=0 |
| 265 | shapecode_3_thickOutline=0 |
| 266 | shapecode_3_textured=1 |
| 267 | shapecode_3_num_inst=1 |
| 268 | shapecode_3_x=0.500 |
| 269 | shapecode_3_y=1.000 |
| 270 | shapecode_3_rad=0.54822 |
| 271 | shapecode_3_ang=0.00000 |
| 272 | shapecode_3_tex_ang=0.00000 |
| 273 | shapecode_3_tex_zoom=0.49981 |
| 274 | shapecode_3_r=1.000 |
| 275 | shapecode_3_g=1.000 |
| 276 | shapecode_3_b=1.000 |
| 277 | shapecode_3_a=1.000 |
| 278 | shapecode_3_r2=1.000 |
| 279 | shapecode_3_g2=1.000 |
| 280 | shapecode_3_b2=1.000 |
| 281 | shapecode_3_a2=0.000 |
| 282 | shapecode_3_border_r=0.500 |
| 283 | shapecode_3_border_g=0.500 |
| 284 | shapecode_3_border_b=0.500 |
| 285 | shapecode_3_border_a=0.000 |
| 286 | per_frame_init_1=fade = .1; |
| 287 | per_frame_1=dec_med = pow (0.5, 30/fps); |
| 288 | per_frame_2=dec_slow = pow (0.9, 30/fps); |
| 289 | per_frame_3=beat = max (max (bass, mid), treb); |
| 290 | per_frame_4=avg = avg*dec_slow + beat*(1-dec_slow); |
| 291 | per_frame_5=is_beat = above(beat, .0+avg+peak) * above (time, t0+.2); |
| 292 | per_frame_6=t0 = is_beat*time + (1-is_beat)*t0; |
| 293 | per_frame_7=peak = is_beat * beat + (1-is_beat)*peak*dec_med; |
| 294 | per_frame_8=index = (index + is_beat) %16; |
| 295 | per_frame_9=index2 = (index2 + is_beat*bnot(index))%4; |
| 296 | per_frame_10=monitor = index2; |
| 297 | per_frame_11= |
| 298 | per_frame_12=q20 = avg; |
| 299 | per_frame_13=q21 = beat; |
| 300 | per_frame_14=q22 = peak; |
| 301 | per_frame_15=q23 = index; |
| 302 | per_frame_16=q24 = is_beat; |
| 303 | per_frame_17=q26 = bass + mid + treb; |
| 304 | per_frame_18=q27 = index; |
| 305 | per_frame_19=q28 = index2; |
| 306 | per_frame_20=sb = sb*dec_med + q21*(1-dec_med); |
| 307 | per_frame_21=q29 = sb; |
| 308 | per_frame_22= |
| 309 | per_frame_23=k1 = is_beat*bnot(index)*bnot(index2); |
| 310 | per_frame_24=p1 = (index2-2); |
| 311 | per_frame_25= |
| 312 | per_frame_26=p2 = dec_slow * p2+ (1-dec_slow)*p1; |
| 313 | per_frame_27=p3 = dec_slow * p3+ (1-dec_slow)*p2; |
| 314 | per_frame_28=rott = rott + .003*30/fps*p3; |
| 315 | per_frame_29= |
| 316 | per_frame_30=q1 = cos(rott); |
| 317 | per_frame_31=q2 = sin(rott); |
| 318 | per_frame_32=q3 = -q2; |
| 319 | per_frame_33=q4 = q1; |
| 320 | per_frame_34= |
| 321 | per_frame_35=trel = time/10; |
| 322 | per_frame_36=q5 = cos(trel); |
| 323 | per_frame_37=q6 = sin(trel); |
| 324 | per_frame_38=q7 = -q6; |
| 325 | per_frame_39=q8 = q5; |
| 326 | per_frame_40= |
| 327 | per_frame_41=q9 = .01*sin(time/7); |
| 328 | per_frame_42=movez = movez + .004*30/fps*(p3+4); |
| 329 | per_frame_43=q10 = movez; |
| 330 | per_frame_44=q30 = .3* (sin(time/45) + 1.5); |
| 331 | per_frame_45= |
| 332 | per_frame_46=mv_a = 0; |
| 333 | per_frame_47= |
| 334 | per_frame_48=q32 = pow(0.98, 30/fps); //fade |
| 335 | per_frame_49= |
| 336 | per_frame_50=q31 = equal(frame%10,0); |
| 337 | per_frame_51= |
| 338 | per_frame_52=trig = q24*bnot(index%3); |
| 339 | per_frame_53=fx = fx*bnot(trig) + trig*int(rand(100))/100; |
| 340 | per_frame_54=fy = fy*bnot(trig) + trig*int(rand(100))/100; |
| 341 | per_frame_55=q15 = fx-.5; |
| 342 | per_frame_56=q16 = fy-.5; |
| 343 | per_frame_57= |
| 344 | per_frame_58=fade = fade * dec_slow; |
| 345 | per_frame_59=q32 = 1-fade; |
| 346 | per_frame_60=monitor = q32; |
| 347 | per_pixel_1=zoom = 1 + .01*sin(time/8); |
| 348 | per_pixel_2=warp = .0 * (1-rad); |
| 349 | per_pixel_3=warp = 0.05; |
| 350 | per_pixel_4=rot = .0; |
| 351 | per_pixel_5=dx = 0; dy = 0; |
| 352 | warp_1=`shader_body { |
| 353 | warp_2=`float corr = texsize.xy*texsize_noise_lq.zw; |
| 354 | warp_3=`//float2 uv1 = float2(uv.x-0.5,uv.y-0.5);//*aspect.xy; |
| 355 | warp_4=` |
| 356 | warp_5=` |
| 357 | warp_6=`float2 hor = float2 (.002,0); |
| 358 | warp_7=`float2 ver = float2 (0,.002); |
| 359 | warp_8=`float dx = lum(tex2D(sampler_main,uv+hor) - tex2D(sampler_main,uv-hor)); |
| 360 | warp_9=`float dy = lum(tex2D(sampler_main,uv+ver) - tex2D(sampler_main,uv-ver)); |
| 361 | warp_10=` |
| 362 | warp_11=` |
| 363 | warp_12=`float2 dz = float2 (dx,dy); |
| 364 | warp_13=` |
| 365 | warp_14=`float3 noise1 = lum(tex2D(sampler_noise_lq, |
| 366 | warp_15=` corr*uv*4+ rand_frame)); |
| 367 | warp_16=` |
| 368 | warp_17=` |
| 369 | warp_18=` |
| 370 | warp_19=`float3 blur = GetBlur1(frac(uv)); |
| 371 | warp_20=` |
| 372 | warp_21=` |
| 373 | warp_22=`float2 zz = dz * (1-blur*0); |
| 374 | warp_23=` |
| 375 | warp_24=`float2 ang2 = 3*(1-blur) * tex2D(sampler_noise_lq,uv).xy-.5; |
| 376 | warp_25=`float ca = cos(ang2); float sa = sin(ang2); |
| 377 | warp_26=`//zz = mul (zz,float2x2(ca,-sa,sa,ca)); |
| 378 | warp_27=` |
| 379 | warp_28=` |
| 380 | warp_29=`float3 crisp = tex2D(sampler_main,uv+zz*.0003); |
| 381 | warp_30=`float3 crisp2 = tex2D(sampler_main,uv); |
| 382 | warp_31=`crisp = .47*(crisp + crisp2 + blur/8); |
| 383 | warp_32=` |
| 384 | warp_33=`crisp += length(zz)*.0; |
| 385 | warp_34=` |
| 386 | warp_35=`float3 fb = 1*(blur+0*lum(blur)); |
| 387 | warp_36=` |
| 388 | warp_37=`float3 ret1 = -.1*fb*fb+ crisp; |
| 389 | warp_38=` |
| 390 | warp_39=`ret = ret1 * q32 - .003*q31 - .01*q31*pow(rad,2); |
| 391 | warp_40=`} |
| 392 | comp_1=`sampler sampler_pw_noise_lq; |
| 393 | comp_2=`float3 ret1, neu, neu2; |
| 394 | comp_3=`float2 uv0, uv1, uv2, uv3, uv4; |
| 395 | comp_4=`float m,n; |
| 396 | comp_5=`shader_body |
| 397 | comp_6=`{ |
| 398 | comp_7=`float2 uv2; |
| 399 | comp_8=`float ang2, c, s; |
| 400 | comp_9=`uv0 = uv; |
| 401 | comp_10=`uv -= 0.5; |
| 402 | comp_11=`uv *= aspect.xy; |
| 403 | comp_12=` |
| 404 | comp_13=`float dist = 1; |
| 405 | comp_14=`float inten = 1; |
| 406 | comp_15=`float maskn = 1; float maskp = 0; |
| 407 | comp_16=`ret1 = 0; |
| 408 | comp_17=`int anz = 4; |
| 409 | comp_18=`n = 1; |
| 410 | comp_19=` |
| 411 | comp_20=`uv = mul(uv,float2x2(_qa)); |
| 412 | comp_21=` |
| 413 | comp_22=`float t_rel = q10; |
| 414 | comp_23=`while (n <= anz) { |
| 415 | comp_24=` m = n-int(t_rel); |
| 416 | comp_25=` |
| 417 | comp_26=` dist = frac(1-n*1.0/anz+frac(-t_rel)/anz); //evtl sqrt ! |
| 418 | comp_27=` inten = 4*(1-dist)*pow(dist,.2); |
| 419 | comp_28=` uv2 = frac(3*uv*dist +m*.35 + q7*dist*dist); |
| 420 | comp_29=` neu = GetPixel (uv2) + GetBlur1(uv2); |
| 421 | comp_30=` maskn = 1-pow(dist,.1)*saturate(8*neu); |
| 422 | comp_31=` |
| 423 | comp_32=` ret1 = ret1*maskn + neu*inten*.7; |
| 424 | comp_33=`n++; |
| 425 | comp_34=`} |
| 426 | comp_35=` |
| 427 | comp_36=` |
| 428 | comp_37=`float flash = saturate(.01*(q21-2)/length(sin(float2(q15,q16) + 2*uv+.2*rand_frame))); |
| 429 | comp_38=` |
| 430 | comp_39=`float smoke = lum(ret1)*(1-lum(ret1))*4; |
| 431 | comp_40=`ret = pow(ret1,1.5) |
| 432 | comp_41=`+ flash*saturate(1-smoke/2) + saturate(1-smoke)*q29*(q27==2)*(q28<=2); |
| 433 | comp_42=`//ret = GetPixel(uv0*2)*6; |
| 434 | comp_43=`} |